package com.zipking.cloud.springbootmybatis.zh;
//叶子节点（员工）：
public class Employee extends OrganizationComponent {

    public Employee(String name, String description) {
        super(name, description);
    }

    @Override
    protected void print() {
        System.out.println("-- " + getName() + "(" + getDescription() + ")");
    }
}
